package com.tebiecloud.order.server.service;

import com.tebiecloud.order.client.model.entity.OrderRefund;
import com.tebiecloud.common.mybatis.base.service.IBaseService;

/**
 * 订单退款信息 服务类
 * @author tebie
 * @date 2019-09-17
 */
public interface OrderRefundService extends IBaseService<OrderRefund> {

    /**
     * 获取最近一条退款信息
     * @param orderId
     * @param status 订单状态，0已取消1待付款2待分销4已分销6已退款
     * @return
     */
    OrderRefund getLastOne(long orderId, int status);

}
